package com.excesys.exsecs.access.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.excesys.exsecs.access.entity.AccessBuildings;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
public class AccessBuildingsDTO extends AccessBuildings {

    @Schema(description = "创建时间区间")
    private LocalDateTime[] queryTime;

    @Schema(description = "省级编码")
    @TableField(exist = false)
    private Long provinceCode;

    @Schema(description = "省级类型")
    @TableField(exist = false)
    private String provinceType;

    @Schema(description = "市级编码")
    @TableField(exist = false)
    private Long cityCode;

    @Schema(description = "市级类型")
    @TableField(exist = false)
    private String cityType;

    @Schema(description = "区/县级编码")
    @TableField(exist = false)
    private Long districtCode;

    @Schema(description = "区/县级类型")
    @TableField(exist = false)
    private String districtType;

    @Schema(description = "街道编码")
    @TableField(exist = false)
    private Long streetCode;

    @Schema(description = "街道类型")
    @TableField(exist = false)
    private String streetType;

    @Schema(description = "变量编码")
    @TableField(exist = false)
    private Long varCode;

}
